From 6631e301e8b66fb8dc979efeb58231d870acde1d Mon Sep 17 00:00:00 2001 From: Christian Limpach Date: Tue, 22 Aug 2006 15:13:07 +0100 Subject: [PATCH] [hvm] Export gpfn of store page to guest - not mfn. Signed-off-by: Christian Limpach --- tools/libxc/xc_hvm_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index acb954865c..0f9d7974b0 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -348,7 +348,7 @@ static int setup_guest(int xc_handle, *store_mfn = page_array[shared_page_nr - 1]; - xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, *store_mfn); + xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, shared_page_nr - 1); xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_EVTCHN, store_evtchn); /* Paranoia */ -- 2.30.2